package com.zfcoding.redismybatisplus.services;

import com.zfcoding.redismybatisplus.entities.userentity.User;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import java.util.List;

//@Service("userService")
//@Component
public interface UserService {

    int insert(User user);

    int updateById(User user);

    int deleteById(int id);

    List<User> selectList();

    User selectModel(int id);

    boolean insertObject(Object object);

}
